<?php namespace Admin\Controller;
use Hdphp\Controller\Controller;
/**
* 列表控制器
*/
class OrderController extends CommonController{
	private $model;
	public function __init()
	{
		parent::__init();
		$this->model=new \Common\Model\Order;
	}
	public function index()
	{
		$data=$this->model->get();
		View::with('data',$data);
		View::make();
	}
	public function edit()
	{
		$oid=Q('get.oid',0,'intval');
		p($oid);
		View::make();
	}
}
?>